﻿<%@ Control Language="C#" ClassName="KhachHangFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
				<td class="literal">Khach Hang Id:</td>
				<td>
					<asp:HiddenField runat="server" id="dataKhachHangId" Value='<%# Bind("KhachHangId") %>'></asp:HiddenField>
				</td>
			</tr>				
			<tr>
				<td class="literal">Ten Kh:</td>
				<td>
					<asp:TextBox runat="server" ID="dataTenKh" Text='<%# Bind("TenKh") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Gioi Tinh:</td>
				<td>
					<asp:TextBox runat="server" ID="dataGioiTinh" Text='<%# Bind("GioiTinh") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Ngay Sinh:</td>
				<td>
					<asp:TextBox runat="server" ID="dataNgaySinh" Text='<%# Bind("NgaySinh", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataNgaySinh" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" />
				</td>
			</tr>				
			<tr>
				<td class="literal">Ma Kh:</td>
				<td>
					<asp:TextBox runat="server" ID="dataMaKh" Text='<%# Bind("MaKh") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataMaKh" runat="server" Display="Dynamic" ControlToValidate="dataMaKh" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>				
			<tr>
				<td class="literal">Cmnd:</td>
				<td>
					<asp:TextBox runat="server" ID="dataCmnd" Text='<%# Bind("Cmnd") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Ngay Cap:</td>
				<td>
					<asp:TextBox runat="server" ID="dataNgayCap" Text='<%# Bind("NgayCap", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataNgayCap" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" />
				</td>
			</tr>				
			<tr>
				<td class="literal">Noi Cap:</td>
				<td>
					<asp:TextBox runat="server" ID="dataNoiCap" Text='<%# Bind("NoiCap") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">So Dt Dk:</td>
				<td>
					<asp:TextBox runat="server" ID="dataSoDtDk" Text='<%# Bind("SoDtDk") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">So Dt Cty:</td>
				<td>
					<asp:TextBox runat="server" ID="dataSoDtCty" Text='<%# Bind("SoDtCty") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Fax:</td>
				<td>
					<asp:TextBox runat="server" ID="dataFax" Text='<%# Bind("Fax") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">So Gpdkkd:</td>
				<td>
					<asp:TextBox runat="server" ID="dataSoGpdkkd" Text='<%# Bind("SoGpdkkd") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Dia Chi Tt:</td>
				<td>
					<asp:TextBox runat="server" ID="dataDiaChiTt" Text='<%# Bind("DiaChiTt") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Ho Khau Tt:</td>
				<td>
					<asp:TextBox runat="server" ID="dataHoKhauTt" Text='<%# Bind("HoKhauTt") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Parent Id:</td>
				<td>
					<asp:HiddenField runat="server" id="dataParentId" Value='<%# Bind("ParentId") %>'></asp:HiddenField>
				</td>
			</tr>				
			<tr>
				<td class="literal">Dia Chi Cty:</td>
				<td>
					<asp:TextBox runat="server" ID="dataDiaChiCty" Text='<%# Bind("DiaChiCty") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Branch Id:</td>
				<td>
					<asp:HiddenField runat="server" id="dataBranchId" Value='<%# Bind("BranchId") %>'></asp:HiddenField>
				</td>
			</tr>				
			<tr>
				<td class="literal">Loai Kh:</td>
				<td>
					<asp:TextBox runat="server" ID="dataLoaiKh" Text='<%# Bind("LoaiKh") %>'></asp:TextBox><asp:RangeValidator ID="RangeVal_dataLoaiKh" runat="server" Display="Dynamic" ControlToValidate="dataLoaiKh" ErrorMessage="Invalid value" MaximumValue="32767" MinimumValue="-32768" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>				
			<tr>
				<td class="literal">Ma So Hv:</td>
				<td>
					<asp:TextBox runat="server" ID="dataMaSoHv" Text='<%# Bind("MaSoHv") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Ngay Dang Ky:</td>
				<td>
					<asp:TextBox runat="server" ID="dataNgayDangKy" Text='<%# Bind("NgayDangKy", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataNgayDangKy" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" />
				</td>
			</tr>				
			
		</table>

	</ItemTemplate>
</asp:FormView>


